package com.example.demo.common.constant;

public class RedisKey {
    /* 登录用户 */
    public static final String LOGIER = "logier:";
    public static final String LOGIER_NAME = "logier:name:";
    public static final String LOGIER_ROLE = "logier:role:";
    public static final String LOGIER_TIME = "logier:time:";
    public static final String LOGIER_TOKEN = "logier:token:";

    /* 日志转存MongoDB的中介 */
    public static final String LOG_USERID = "log:userid:";
    public static final String LOG_NAME = "log:name:";
    public static final String lOG_ERROR_MSG = "log:error:msg:";

    /* 配置项 */
    public static final String CONFIG_WHITELIST_LOAD = "config:whitelist:load";
    public static final String CONFIG_WHITELIST_LIST = "config:whitelist:list";
    public static final String CONFIG_BLACKLIST_LIST = "config:blacklist:list";

    /* 其他 */
    public static final String EXPIRE = "expire:";
    public static final String LIMIT = "limit:";
    public static final String REPEAT = "repeat:";
    public static final String IDEMPOTENT = "idempotent:key:";
    public static final String DEFAULT_LOCK_VALUE = "DEFAULT_LOCK_VALUE";
}
